package com.thd.example.config;

import com.thd.framework.mail.service.MailService;
import com.thd.framework.mail.service.MailServiceImpl;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class MailConfig {
    @Bean
    public MailService mailService(){
//        return new MailServiceImpl("devil13th@163.com","ABRXRHCFHJZMYCKJ","smtp.163.com","25");
        return new MailServiceImpl("181907667@qq.com","splxpkybsmgubhaf","smtp.qq.com","25");
    }

}
